import React from 'react'
import ReactDOM from 'react-dom'
import { BrowserRouter, Routes, Route } from 'react-router-dom'
import MainPage from '@/pages/main/index' // 主页面
import StartPage from '@/pages/start/index' // 开始页面
import './index.scss'
ReactDOM.render(
  <BrowserRouter>
    <Routes>
      <Route path="/" element={<StartPage />} />
      <Route path="/main" element={<MainPage />} />
    </Routes>
  </BrowserRouter>,
  document.getElementById('root')
)
